Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference


translateWidgetTable

This procedure translates the widgets temp-table, ttTranslate, from the buildWidgetTable procedure. The procedure uses the multiTranslation procedure, if it has not already been run.

The plTranslated flag allows the multiTranslation procedure to run prior to this procedure so that all languages can be translated in one pass if required. The table of widgets can therefore contain entries for each language. The procedure uses the entries for the passed-in language or the login language. The temp-table might only have entries for the login language, in which case the language obj is 0.

Location: af\app\aftrnmngrp.i

Parameters:

INPUT plTranslated AS LOGICAL

If the multiTranslation procedure has run, set to YES.

INPUT pdLanguageObj AS DECIMAL

The translation language object number to use. Use 0 for the login language.

INPUT TABLE FOR ttTranslate

The temp-table of widgets to translate.

Notes: This procedure can only run on the client because the handles are not valid on the server.

Examples: See the doTranslations procedure in af\cod2\aftemcpasw.w.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095